import Vue from 'vue'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import partyshow from '@/views/partyshow/partyShow'
import addparty from '@/views/addparty/addparty'

Vue.use(VueRouter)
Vue.use(ElementUI)
const routes = [
  {
    path: '/partyshow',
    name: 'partyshow',
    component: partyshow
  },
  {
    path: '/addparty',
    name: 'addparty',
    component: addparty
  }
]

const router = new VueRouter({
  routes
})

export default router
